package pojo;

/**
 * 后台用户角色关联实体类
 * @author 叶军军
 */
public class AdRoss {

    /**
     * ID
     */
    private int adRoId;

    /**
     * 后台用户ID
     */
    private int adminId;

    /**
     * 角色ID
     */
    private int roleId;

    /**
     * getter和setter方法
     */
    public int getAdRoId() {
        return adRoId;
    }

    public void setAdRoId(int adRoId) {
        this.adRoId = adRoId;
    }

    public int getAdminId() {
        return adminId;
    }

    public void setAdminId(int adminId) {
        this.adminId = adminId;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    /**
     * 无参的构造方法
     */
    public AdRoss() {
    }

    /**
     * 有参的构造方法
     * @param adRoId
     * @param adminId
     * @param roleId
     */
    public AdRoss(int adRoId, int adminId, int roleId) {
        this.adRoId = adRoId;
        this.adminId = adminId;
        this.roleId = roleId;
    }

    /**
     * 重写toString方法
     */
    @Override
    public String toString() {
        return "AdRoss{" +
                "adRoId=" + adRoId +
                ", adminId=" + adminId +
                ", roleId=" + roleId +
                '}';
    }
}
